package com.tuocent.dagv2.service;

import com.tuocent.dagv2.common.AjaxResult;
import com.tuocent.dagv2.entity.Customer;
import com.baomidou.mybatisplus.extension.service.IService;
import jakarta.servlet.http.HttpSession;
import org.springframework.ui.Model;

import java.util.Map;

/**
 * <p>
 * 客户信息 服务类
 * </p>
 *
 * @author Vincent
 * @since 2025-08-19
 */
public interface ICustomerService extends IService<Customer> {

    String setCustomerInfo(Model model, String id);

    AjaxResult saveCustomerInfo(HttpSession session, Customer data);

    AjaxResult getCustomerData(Map<String, Object> param);

    AjaxResult delCustomer(HttpSession session, Map<String, String> data);
}
